
#import "NSArray+log.h"

@implementation NSArray (log)
- (NSString *)description
{
    NSMutableString *strM = [NSMutableString stringWithString:@"(\n"];
    [self enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
        if ([obj isKindOfClass:[NSString class]])
        {
                [strM appendFormat:@"\t\t\t\t%@,\n", obj];
        }
        else
        {
                [strM appendFormat:@"\t\t\t\t%@,\n", [obj description]];
        }
    }];
    [strM appendString:@"\t\t)"];
    return strM;
}
@end
